package com.wuseguang.springcloud.service;

import com.wuseguang.springcloud.Filter.RequestParameterWrapper;
import com.wuseguang.springcloud.entity.Student;
import com.wuseguang.springcloud.util.Result;

import javax.servlet.http.HttpServletResponse;
import java.io.FileNotFoundException;
import java.io.IOException;

/**
 * <p>
 * 学生表 服务类
 * </p>
 *
 * @author 
 * @since 2019-12-29
 */
public interface StudentService  {

    Result findAllStudent(Integer classId, String stuName, String schoolId, Integer indexNo,Integer rows,String teacherId,String admin,String  phone);

    Result deleteStudent(Integer id);

    Result addStudent(Student student);

    Result batchAdditionStudent(String schoolId, String student);

    Result resetAllStudentPwd(String schoolId,String passWord);

    Result resetStudentPwd(Integer id,String passWord);

    Result updateStudent(Student student);

    Result testStudentData(String schoolId ,String student);

    void exportStudentTemplate(RequestParameterWrapper request, HttpServletResponse response);

    void exportStudent(RequestParameterWrapper request, HttpServletResponse response, Integer classId);

    Result findJurisdictionStudent(String teacherId,String schoolId);

    Result manualSynchronization(String schoolId) ;

    Result ManualFaceSynchronization(String schoolId);
}
